<?php

namespace App\Policies;

use App\Models\Replies;
use App\Models\User;

class RepliesPolicy extends Policy
{
    public function delete(User $user,Replies $replies)
    {
        return $user->id == $replies->user_id;
    }
}
